package edu.cth.scrabbit.shared.network;

import java.io.Serializable;
/**
 * 
 * @author Anders Jonsson, Marcus Harryson
 *
 */
public class Statement implements Serializable {
	private static final long serialVersionUID = 315750658049514632L;
	private Statement_Type type;
	private Object content;
	

	public Statement_Type getType() {
		return type;
	}

	public Object getContent() {
		return content;
	}
	/**
	 * Statement constructor
	 * @param origin, where did the statement come from
	 * @param type, the type of the statement, Enums
	 * @param content, the content of the statement
	 */
	public Statement(Statement_Type type, Object content) {
		this.type = type;
		this.content = content;
	}
	
	public enum Statement_Type {
		SERVER_GAME_UPDATE, CONNECT, START_GAME, PASS, SWAP, PLAY_WORD, PING; 
	}
}